package com.tn.xfer;

import java.util.Map;

public class DwrResponse {
	public DwrResponse(String action, int respCode){
		this.action = action;
		this.respCode = respCode;
	}
	
	public DwrResponse(){}
	
	private String action;
	private int respCode;
	private String errorMessage;
	private Object objRespOrError;
	private Map<String, Object> retMap;
	
	public int getRespCode() {
		return respCode;
	}
	public void setRespCode(int respCode) {
		this.respCode = respCode;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	public Object getObjRespOrError() {
		return objRespOrError;
	}
	public void setObjRespOrError(Object objRespOrError) {
		this.objRespOrError = objRespOrError;
	}
	public Map<String, Object> getRetMap() {
		return retMap;
	}
	public void setRetMap(Map<String, Object> retMap) {
		this.retMap = retMap;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	
	
	
	
}
